package com.example.blog.base;

import jakarta.validation.constraints.NotNull;
import lombok.Data;


/**
 * @Classname PageDto
 * @Description TODO
 * @Version 1.0.0
 * @Date 2023/1/27 13:58
 * @Created by wlh12
 */
@Data
public class PageRequestDto {

    @NotNull(message = "当前页不能为空")
    private Integer pageCurrent;
    @NotNull(message = "每页条数不能为空")
    private Integer pageSize;
}
